import { Rule, RuleType } from "@midwayjs/validate";
import { CommonAuditStatus } from "../../../interface";


export class AuditDistributorInfoDTO {
    @Rule(RuleType.number().required())
    id: number;
    @Rule(RuleType.allow(CommonAuditStatus.APPROVED, CommonAuditStatus.REJECTED).required())
    status: CommonAuditStatus;
    @Rule(RuleType.string().optional().allow(''))
    rejectReason?: string;
}